package com.zy.springboot_nahua4.service;

import com.zy.springboot_nahua4.model.Student;

import java.util.List;

public interface StudentService {
    public Student add(Student s);
    public Student update(Student s);
    public void delete(int id);
    public Student find(int id);

    List<Student>findByName(String name);

    public List<Student> findAll();
}
